
// TODO: Implement in Go.

void runtime_goroutineheader(G*);
void runtime_goroutinetrailer(G*);
void runtime_traceback(void);
void runtime_tracebackothers(G*);
int32 runtime_callers (int32 skip, uintptr *pcbuf, int32 m);
void runtime_printtrace(uintptr * pcbuf, int32 c);
bool runtime_showframe(const char*);
int32 runtime_gotraceback(void);

int Callers (int, struct __go_open_array) __asm__("runtime.Callers");

// Called from Go.
_Bool runtime_getpcinfo(uintptr, String*, String*, goint *)
	__asm__("runtime.getPCInfo");
_Bool runtime_getsymbolvalue(struct __go_string sym, uintptr *val)
	__asm__("runtime.getSymbolValue");
